<?php
/**
 * Created By Project
 * Author: 陈东
 * Copyright：陈东
 * Source Code：陈东
 * Explain：I shall not authorize for any other commercial purposes, law breakers must be prosecuted.
 */
namespace Selfhelp\Widget;
use Think\Controller;
class SelfhelpWidget extends Controller {
	
	public function getwenhuacontentinfo($plateid,$field){

		if(!empty($plateid)){
			$pres = D(C('TABLE_PLATERESOURCE'));
			$res = $pres->find($plateid);
			echo $res[$field];
		}
	}
	//随机数
	public function rand($min,$max){
		echo rand($min,$max);
	}
    
    
}
?>